package cn.cihon.ubi.qorosauto.bo;

public class LocationInformation {

	private Double longitude = null;
	private Double latitude = null;
	
	public LocationInformation() {
	}
	
	public LocationInformation(Double longitude, Double latitude) {
		this.longitude = longitude;
		this.latitude = latitude;
	}
	
	public LocationInformation(String longitudeStr, String latitudeStr) {
		this.longitude = Double.valueOf(longitudeStr);
		this.latitude = Double.valueOf(latitudeStr);
	}
	
	public Double getLongitude() {
		return longitude;
	}
	
	public void setLongitude(Double longitude) {
		this.longitude = longitude;
	}
	
	public Double getLatitude() {
		return latitude;
	}
	
	public void setLatitude(Double latitude) {
		this.latitude = latitude;
	}
	
	public String toString() {
		StringBuffer sb = new StringBuffer();
		sb.append("[").append(this.getLongitude()).append(",").append(this.getLatitude()).append("]");
		return sb.toString();
	}
	
}
